Finer-grained Locking in Concurrent Dynamic Planar Convex Hulls
نویسندگان
چکیده
The convex hull of a planar point set is the smallest convex polygon containing each point in the set. The dynamic convex hull problem concerns efficiently maintaining the convex hull of a set of points subject to additions and removals. One algorithm for this problem uses two external balanced binary search trees (BSTs) [16]. We present the first concurrent solution for this problem, which uses a single BST that stores references to intermediate convex hull solutions at each node. We implement and evaluate two lock-based approaches: a) fine-grained locking, where each node of the tree is protected by a lock, and b) “finer -grained locking,” where each node contains a separate lock for each of the left and right chains. In our throughput experiments, we observe that finer-grained locking yields an 8-60% improvement over fine-grained locking, and a 38-61× improvement over coarsegrained locking and software transactional memory (STM). When applied to find the convex hull of static point sets, our approach outperforms a parallel divide-and-conquer implementation by 2-4× using an equivalent number of threads.
منابع مشابه
Of a Semi - Dynamic Convex Hull Algorithm
We obtain new results for manipulating and searching semi-dynamic planar convex hulls (subject to deletions only), and apply them to derive improved bounds for two problems in geometry and scheduling. The new convex hull results are logarithmic time bounds for set splitting and for finding a tangent when the two convex hulls are not linearly separated. Using these results, we solve the followin...
متن کاملThe Number of Combinatorially Different Convex Hulls of Points in Lines ∗
Given a sequenceR of planar lines in general position, we can obtain a point set by picking exactly one point from each line in R. We provide exponential upper and lower bounds on the number of combinatorially different convex hulls for point sets that are generated in this manner.
متن کاملConvex Hulls of Multidimensional Random Walks
Let Sk be a random walk in R such that its distribution of increments does not assign mass to hyperplanes. We study the probability pn that the convex hull conv(S1, . . . , Sn) of the first n steps of the walk does not include the origin. By providing an explicit formula, we show that for planar symmetrically distributed random walks, pn does not depend on the distribution of increments. This e...
متن کاملPlane and Boundray Extraction from Lidar Data Using Clustering and Convex Hull Projection
In this paper, we propose a new approach to extract planar patches and boundary from a set of LiDAR point cloud. In the beginning, the 3D point cloud set is partitioned and assigned to fixed-size cubes. Secondly, local planar patches are generated by extracting surface normal vectors within each cube. Finally, the global planes are formed by grouping the planar patches. The boundary of global p...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1702.03008 شماره
صفحات -
تاریخ انتشار 2017